package com.million.commonutils.orderVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: studyboy
 * @Date: 2022/4/9  17:27
 */
@ApiModel(value = "课程信息", description = "生成订单中的课程部分信息")
@Data
public class CourseOrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "课程老师名字")
    private String teacherName;

    @ApiModelProperty(value = "课程价格")
    private BigDecimal price;

}
